#include "flowmap.hpp"
#include <stdexcept>

FlowMap::FlowMap() {}

FlowMap::~FlowMap() {}

std::vector<std::vector<double>> FlowMap::getFlowMap() const {
    if (flowMap.empty()) {
        throw std::runtime_error("Flow map is empty");
    }
    return flowMap;
}

void FlowMap::setFlowMap(const std::vector<std::vector<double>>& map) {
    flowMap = map;
}

bool FlowMap::isEmpty() const {
    return flowMap.empty();
} 